﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/PrincipalUbicaTuReu.Master" Inherits="System.Web.Mvc.ViewPage<UPC.UbicaTuReu.WEB.WSAgenda.AgendaUsuario>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>&nbsp;&nbsp;&nbsp;Regitro de Agenda Virtual&nbsp;&nbsp;&nbsp;</legend>
            <br />
            <table style="width:100%;" cellpadding="10" cellspacing="10">
                <tr>
                    <td style="width:3%"></td>
                    <td style="width:15%">
                        <div class="editor-label">
                            Asunto
                        </div>
                    </td>
                    <td style="width:25%">
                        <div class="editor-lable">
                            <%: Html.HiddenFor(model => model.AgendaID) %>
                            <%: Html.DisplayTextFor(model => model.Asunto)%>
                        </div>
                    </td>
                    <td style="width:3%"></td>
                    <td style="width:15%">
                        <div class="editor-label"></div>		
                    </td>
                    <td style="width:25%">
                        <div class="editor-field"></div>            
                    </td>
                    <td style="width:3%"></td>
                </tr>
                <tr>
                    <td style="width:3%"></td>
                    <td style="width:15%">
                        <div class="editor-label">
                            Temas a tratar
                        </div>
                    </td>
                    <td style="width:73%" colspan="4">
                        <div class="editor-lable">
                            <%: Html.DisplayTextFor (model => model.DescripcionAgenda)%>
                        </div>
                    </td>
                    <td style="width:3%"></td>
                </tr>

                <tr>
                    <td style="width:3%"></td>
                    <td style="width:15%">
			            <div class="editor-label">
                            Fecha
                        </div>		
                    </td>
                    <td style="width:30%">
                        <div class="editor-field">
                            <%: Html.DisplayTextFor(model => model.Fecha)%>
                        </div>            
                    </td>
                    <td style="width:3%">
					</td>
                    <td style="width:15%">
                        Hora Inicio&nbsp;&nbsp;:&nbsp;&nbsp;<%: Html.DisplayTextFor(model => model.HoraInicio)%>                        
                    </td>
                    <td style="width:30%">
                        Hora Fin&nbsp;&nbsp;:&nbsp;&nbsp;<%: Html.DisplayTextFor(model => model.HoraFin)%>
                    </td>
                    <td style="width:3%"></td>
                </tr>
                <tr>
                    <td style="width:3%"></td>
                    <td style="width:15%">
					    <div class="editor-label">
                            Sala
                        </div>
                    </td>
                    <td style="width:30%">
                        <div class="editor-field">
                            <%: Html.DisplayTextFor(model => model.SalaNombre)%>
                        </div>
                    </td>
                    <td style="width:3%">
					</td>
                    <td style="width:15%">                       
                    </td>
                    <td style="width:30%">                        
                        
                    </td>
                    <td style="width:3%"></td>
                </tr>
                <tr>
                    <td style="width:3%"></td>
                    <td style="width:15%">
					    <div class="editor-label">
                            Usuario
                        </div>
                    </td>
                    <td style="width:30%">
                        <div class="editor-field">
                            <%: Html.DropDownList("ddlUsuario", (IEnumerable<SelectListItem>)ViewData["ListaUsuarios"], "[--Seleccione--]")%>                            
                        </div>
                    </td>
                    <td style="width:3%">
					</td>
                    <td style="width:15%">                       
                    </td>
                    <td style="width:30%">                        
                        
                    </td>
                    <td style="width:3%"></td>
                </tr>

                <tr>
                    <td style="width:100%; height:20px;" colspan="7"></td>
                </tr>
                <tr>
                    <td style="width:3%"></td>
                    <td style="width:45%" colspan="2">
                        <p>
                            <input type="submit" value="Registrar Usuario" class="btn" />
                        </p>
                    </td>
                    <td style="width:3%">
					</td>
                    <td style="width:15%"></td>
                    <td style="width:30%"></td>
                    <td style="width:3%"></td>
                </tr>
                <tr>
                    <td style="width:100%; height:10px;" colspan="7"></td>
                </tr>
            </table>                                                                          
        </fieldset>

    <% } %>

    

    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

